import Vue from 'vue';
import moment from 'moment'

Vue.filter("dateFilter", value => {
  return moment(value).format("YYYY-MM-DD")
});

Vue.filter("datetimeFilter", value => {
  return moment(value).format("YYYY-MM-DD HH:mm:ss")
});